home *** CD-ROM | disk | FTP | other *** search
-
- ; Install script
-
- ;=============================================================================
- (set #bad-kick "You must be using Kickstart 2.04 to install using this script!")
- (set #where-prog "Select directory to install aplication")
- (set #copylib "Are you installing the gadutil.library")
- (set #doc-install "Are you installing the documentation?")
- (set #where-doc "Select directory to install the documentation")
- (set #sel-doc "Select files to install")
- (set #lang-sel "Select language to install")
-
- (set #install-msg
- (cat "\n\n Oto skrypt instalacyjny do programu Alkotest\n"
- "Dziëki niemu, juû za parë sekund zainstalujemy\n"
- "tego przydatnego utilitka na Twoim twardziuchu\n\n"
- "Alkotest\n"
- "Copyright © 2003 Marek`fUego`Haê\n"
- "GIFTWARE\n\n"
- "!!! CrEaTeD WiTh AMIGA !!!"
- )
- )
-
- ;=============================================================================
- ; make sure we are running under a 2.04 ROM
-
- (if (< (/ (getversion) 65536) 37)
- (
- (abort #bad-kick)
- )
- )
-
- ;=============================================================================
- (set #old-level @user-level)
- (user 2)
- (message #install-msg)
- (user #old-level)
-
-
- (set direk
- (askdir
- (prompt "Wskaû miejsce gdzie ma byê zainstalowany Alkotest.\n Nowy katalog zostanie tam automatycznie utworzony.")
- (help "Podaj tylko katalog, ja odwalë resztë brudnej robory :] - Twoja Amiga.")
- (default "ram:")
- )
- )
-
- (if
- (not(exists(tackon direk "Alkotest")))
- (makedir(tackon direk "Alkotest")
- )
- )
-
- (set direk(tackon direk "Alkotest"))
-
- (complete 10)
-
- (copyfiles
- (source "Alkotest")
- (dest direk)
- (infos)
- (noposition)
- )
-
- (complete 20)
- (if (not(exists "FONTS:mFastpl.font"))
- (
- (copyfiles
- (source "Fonts/mFastpl")
- (dest "FONTS:mFastpl")
- (all)
- ) ))
- (copyfiles
- (source "Fonts/mFastpl.font")
- (dest "FONTS:")
- (infos)
- (noposition)
- )
-
- (if (not(exists "FONTS:PL_Apple.font"))
- (
- (copyfiles
- (source "Fonts/PL_Apple")
- (dest "FONTS:PL_Apple")
- (all)
- ) ))
- (copyfiles
- (source "Fonts/PL_Apple.font")
- (dest "FONTS:")
- (infos)
- (noposition)
- )
-
- (if (not(exists "FONTS:XenPL.font"))
- (
- (copyfiles
- (source "Fonts/XenPL")
- (dest "FONTS:XenPL")
- (all)
- ) ))
- (copyfiles
- (source "Fonts/XenPL.font")
- (dest "FONTS:")
- (infos)
- (noposition)
- )
-
- (if (not(exists "FONTS:XHelveticaPL.font"))
- (
- (copyfiles
- (source "Fonts/XHelveticaPL")
- (dest "FONTS:XHelveticaPL")
- (all)
- ) ))
- (copyfiles
- (source "Fonts/XHelveticaPL.font")
- (dest "FONTS:")
- (infos)
- (noposition)
- )
-
- (complete 40)
-
- (copyfiles
- (source "Alkotest.guide")
- (dest direk)
- (infos)
- (noposition)
- )
-
-
- (complete 80)
-
- (copyfiles
- (source "program")
- (dest direk)
- (infos)
- (noposition)
- )
-
- (copyfiles
- (source "title.iff")
- (dest direk)
- (infos)
- (noposition)
- )
-
- (copyfiles
- (source "Zwiecha?")
- (dest direk)
- (infos)
- (noposition)
- )
-
-
-
- (complete 100)
- (exit)
-